import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
import java.util.HexFormat;

public class Hashcode {
    public static void main(String[] args) throws Exception {
        MessageDigest md=MessageDigest.getInstance("MD5");
        md.update("Hello".getBytes(StandardCharsets.UTF_8));
        md.update("World".getBytes(StandardCharsets.UTF_8));
        byte[] result=md.digest();
        System.out.println(HexFormat.of().formatHex(result));
    }
}
